<?

class Qi_Form_Field_SelectGroup extends Qi_Form_Field
{
	protected $tag = "select";
	protected $inline = false;
	public $type = null;
	private $_opcoes = array();

	public function __construct($opcoes = array(), $ini = array())
	{
		parent::__construct($ini);
		$this->_opcoes = $opcoes;
	}

	public function render()
	{
		return parent::render();
	}

	protected function gerar_conteudo_tag()
	{
		return Qi_Html_Option::gerar_por_grupo($this->_opcoes, $this->value);
	}

}

?>